<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DomArHistory</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
						<script src="../../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../../media/images/plus.png";
				imgMinus.src = "../../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> DomArHistory</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_libs---DomAr---Handlers---History---DomArHistory.class.php.html">/libs/DomAr/Handlers/History/DomArHistory.class.php</a> (line <span class="field"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a28">28</a></span>)
		</p>
		
				
		<pre><a href="../../DomAr/Plugin/DomArPlugin.html">DomArPlugin</a>
   |
   --<a href="../../DomAr/Relation/DomArSet.html">DomArSet</a>
      |
      --DomArHistory</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																							
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../DomAr/DomArHistory/DomArHistoryItem.html">DomArHistoryItem</a></span>
										<a href="#getLastVersion" title="details" class="method-name">getLastVersion</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">Int</span>
										<a href="#getLastVersionNr" title="details" class="method-name">getLastVersionNr</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getVersion" title="details" class="method-name">getVersion</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$versionNr</span> = <span class="var-default">NULL</span>])
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#prepareHistoryItem" title="details" class="method-name">prepareHistoryItem</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#registerChange" title="details" class="method-name">registerChange</a>
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$propertyName</span>)
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#resetHistoryItem" title="details" class="method-name">resetHistoryItem</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">Bool</span>
										<a href="#restoreFrom" title="details" class="method-name">restoreFrom</a>
											(<span class="var-type">Int</span>&nbsp;<span class="var-name">$versionNr</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../DomAr/Relation/DomArSet.html">DomArSet</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DomAr/Relation/DomArSet.html#var$listeners">DomArSet::$listeners</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DomAr/Relation/DomArSet.html#var$loadedObjects">DomArSet::$loadedObjects</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DomAr/Relation/DomArSet.html#var$newObjects">DomArSet::$newObjects</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DomAr/Relation/DomArSet.html#var$newObjectsI">DomArSet::$newObjectsI</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodgetLastVersion" id="getLastVersion"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getLastVersion</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a56">56</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns last version item</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../DomAr/DomArHistory/DomArHistoryItem.html">DomArHistoryItem</a></span>
		<span class="method-name">
			getLastVersion
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLastVersionNr" id="getLastVersionNr"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getLastVersionNr</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a41">41</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns current history version.</p>
<p class="description"><p>Each time this method is called a query is sent to database.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Int</span>
		<span class="method-name">
			getLastVersionNr
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetVersion" id="getVersion"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getVersion</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a49">49</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getVersion
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$versionNr</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$versionNr</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprepareHistoryItem" id="prepareHistoryItem"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">prepareHistoryItem</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a76">76</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Prepares history item that has current parent object property values.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			prepareHistoryItem
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodregisterChange" id="registerChange"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">registerChange</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a64">64</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Registeres object property value change.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			registerChange
		</span>
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$propertyName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$propertyName</span>			</li>
				</ul>
		
			
	</div>
<a name="methodresetHistoryItem" id="resetHistoryItem"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">resetHistoryItem</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a90">90</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes current history item.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			resetHistoryItem
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodrestoreFrom" id="restoreFrom"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">restoreFrom</span> (line <span class="line-number"><a href="../../__filesource/fsource_DomAr_DomArHistory_libsDomArHandlersHistoryDomArHistory.class.php.html#a99">99</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Restores parent object from history.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true on success, false on failure.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Bool</span>
		<span class="method-name">
			restoreFrom
		</span>
					(<span class="var-type">Int</span>&nbsp;<span class="var-name">$versionNr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$versionNr</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../DomAr/Relation/DomArSet.html">DomArSet</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#method__construct">DomArSet::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodaddLoadedObject">DomArSet::addLoadedObject()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodaddNewObject">DomArSet::addNewObject()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodcount">DomArSet::count()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodcountQuery">DomArSet::countQuery()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methoddataQuery">DomArSet::dataQuery()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodfind">DomArSet::find()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodflushLoadedObjects">DomArSet::flushLoadedObjects()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodflushNewObjects">DomArSet::flushNewObjects()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodgetChildrenTableName">DomArSet::getChildrenTableName()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodgetIterator">DomArSet::getIterator()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodgetLoadedObjects">DomArSet::getLoadedObjects()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodgetNew">DomArSet::getNew()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodgetNewObjects">DomArSet::getNewObjects()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodidSetQuery">DomArSet::idSetQuery()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodisChildNew">DomArSet::isChildNew()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodoffsetExists">DomArSet::offsetExists()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodoffsetGet">DomArSet::offsetGet()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodoffsetSet">DomArSet::offsetSet()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodoffsetUnset">DomArSet::offsetUnset()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodpush">DomArSet::push()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodquery">DomArSet::query()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodremove">DomArSet::remove()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodremoveLoadedObject">DomArSet::removeLoadedObject()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodremoveNewObject">DomArSet::removeNewObject()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodsave">DomArSet::save()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodset">DomArSet::set()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodtoArray">DomArSet::toArray()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodtoIdArray">DomArSet::toIdArray()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodunload">DomArSet::unload()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Relation/DomArSet.html#methodvalidate">DomArSet::validate()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../DomAr/Plugin/DomArPlugin.html">DomArPlugin</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Plugin/DomArPlugin.html#method__construct">DomArPlugin::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Plugin/DomArPlugin.html#methodchanged">DomArPlugin::changed()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Plugin/DomArPlugin.html#methodchangeParent">DomArPlugin::changeParent()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Plugin/DomArPlugin.html#methodgetParent">DomArPlugin::getParent()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DomAr/Plugin/DomArPlugin.html#methodgetProperty">DomArPlugin::getProperty()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:12:24 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>